﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmAdministrarRoles.aspx.cs" Inherits="Box.Cliente.Control.frmAdministrarRoles" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .auto-style1 {
            width: 165px
        }
        .auto-style2 {
            width: 153px
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h1>Administrar Roles</h1>
            <br />
        </div>

        <div class="panel-body">
            <h2>Usuario:
                <asp:Label ID="lblUsuario" runat="server"></asp:Label></h2>
            <table border="0" style="font-size: 100%; font-family: Verdana" class="table table-hover">
                <tr>
                <td class="auto-style1">
                    <b>Roles Disponibles:</b>
                    <br />
                    <asp:ListBox ID="lbRoles" CssClass="table table-bordered" runat="server" Rows="10" Width="137px"></asp:ListBox>           
                </td>
                <td  align="center" class="auto-style2">
                    <br /><br /><br />
                    <asp:Button ID="btnAgregar" runat="server" Text="&gt;&gt;" 
                         CssClass="btn btn-warning" OnClick="btnAgregar_Click" /><br /><br />
                    <asp:Button ID="btnQuitar" runat="server" CssClass="btn btn-danger" Text="&lt;&lt;" OnClick="btnQuitar_Click"/> 
                        
                </td>
                <td>
                    <b>Roles del Usuario:</b> 
                    <br />
                    <asp:ListBox ID="lbRolesForUser" CssClass="table table-bordered" runat="server" Rows="10" Width="110px"></asp:ListBox>
                </td>
             </tr>
                
            </table>
        
            <asp:Label ID="lblMsgError" runat="server" ForeColor="Red"></asp:Label>
            <table style="font-size: 100%; font-family: Verdana" class="table">
                <tr>
                    <td></td>
                    <td align="right">
                        <asp:Button ID="btnCancelar" Text="Atrás" CssClass="btn btn-primary" runat="server" OnClick="btnCancelar_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
